home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
smailsrc.zip
/
PASSWD.ZIP
/
ENDPWENT.C
next >
Wrap
Text File
|
1990-04-03
|
346b
|
27 lines
/*
* endpwent.c: Close password file
*
* Stephen C. Trier
* March 26, 1990
*
* This program is in the public domain
*
*/
#include <stdio.h>
#include <pwd.h>
extern FILE *_pw_file;
int endpwent(void)
{
int temp;
temp = fclose(_pw_file);
_pw_file = NULL;
return temp;
}